//
//  PrivateSpaceScene.m
//  SCRAP_ObjC
//
//  Created by Capstone Design Fall 2010 on 10/18/10.
//  Copyright 2010 Thunderwear. All rights reserved.
//

#import "PrivateSpaceScene.h"
#import "BackgroundLayer.h"


@implementation PrivateSpaceScene
+(id) scene
{
	PrivateSpaceScene *scene = [PrivateSpaceScene node];	
	return scene;
}



-(id) init
{
	if((self =[super init]))
	{
		BackgroundLayer* background_layer = [BackgroundLayer node];
		[self addChild: background_layer];
		
		self.isTouchEnabled = TRUE;	
	}
	
	return self;
}

-(BOOL) ccTouchBegan:(UITouch *)touches withEvent:(UIEvent *)event
{
	NSLog(@"touched something...");
	
	return TRUE;
}

-(void) ccTouchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
	NSLog(@"Touched!");
}

-(void) ccTouchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
{
	NSLog(@"Moved");
}

-(void) ccTouchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
	NSLog(@"Ended");
}

-(void) dealloc
{
	[super dealloc];
}
@end
